package com.hyst.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

import com.hyst.model.Person_CV;

@Repository
public interface Person_CV_Repository extends JpaRepository<Person_CV, String> {

	@Query(value = "select * from person_cv where person_id = ?1", nativeQuery = true)
	List<Person_CV> findCVByUniqueid(String uniqueid);
}
